package com.star95.shirologin.common.util;

import com.star95.shirologin.dto.CustomerUserDto;
import com.star95.shirologin.dto.OperatorUserDto;

import java.util.HashMap;
import java.util.Map;

public class UserUtil {
    /**
     * 客户信息map
     */
    public static Map<String, CustomerUserDto> customerUserDtoMap = new HashMap<>();

    /**
     * 运营人员信息
     */
    public static Map<String, OperatorUserDto> operatorUserDtoMap = new HashMap<>();


    static {
        customerUserDtoMap.put("zhangsan", new CustomerUserDto("c1", "zhangsan", "张三", "123456"));
        customerUserDtoMap.put("lisi", new CustomerUserDto("c1", "lisi", "李四", "654321"));

        operatorUserDtoMap.put("admin1", new OperatorUserDto("o1", "admin1", "管理员1", "123456"));
        operatorUserDtoMap.put("admin2", new OperatorUserDto("o1", "admin2", "管理员2", "654321"));
    }
}
